#ifndef AT_NETWORK_WITH_EC200_h
#define AT_NETWORK_WITH_EC200_h

#include "device/ec200/AtNetworkDeviceEC200.h"

#define AtNetworkDeviceExample AtNetworkDeviceEC200

/**
 * 是否启动SOCKET功能
 */
#ifdef USE_AT_NETWORK_SOCKET
#include "device/ec200/AtNetworkSocketEC200.h"

#define AtNetworkSocketExample AtNetworkSocketEC200
#endif

/**
 * 是否启动MQTT功能
 */
#ifdef USE_AT_NETWORK_MQTT
#include "extend/mqtt/AtNetworkMqttTopic.h"

#include "device/ec200/AtNetworkMqttClientEC200.h"

#define AtNetworkMqttTopicExample AtNetworkMqttTopic

#define AtNetworkMqttClientExample AtNetworkMqttClientEC200
#endif

/**
 * 是否启动ONENET功能
 */
#ifdef USE_AT_NETWORK_ONENET
#include "extend/mqtt/AtNetworkMqttTopic.h"

#include "device/ec200/AtNetworkMqttClientEC200.h"
#include "device/ec200/AtNetworkOnenetClientEC200.h"

#define AtNetworkMqttTopicExample AtNetworkMqttTopic

#define AtNetworkMqttClientExample AtNetworkMqttClientEC200
#define AtNetworkOnenetClientExample AtNetworkMqttClientEC200
#endif

/**
 * 是否启动HTTP功能
 */
#ifdef USE_AT_NETWORK_HTTP
#include "device/ec200/AtNetworkHttpEC200.h"

#define AtNetworkHttpExample AtNetworkHttpEC200
#endif

/**
 * 是否启动NTP功能
 */
#ifdef USE_AT_NETWORK_NTP
#include "device/ec200/AtNetworkNtpEC200.h"

#define AtNetworkNtpExample AtNetworkNtpEC200
#endif

#endif